home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / AppleScript / Tortoise Additions 0.91 / ReadMe next >
Encoding:
Text File  |  1996-10-09  |  3.3 KB  |  85 lines  |  [TEXT/ttxt]

  1. Tortoise Additions 0.91
  2. © Michael Schürig 1996
  3. mailto:uzs90z@uni-bonn.de
  4.  
  5. You may freely use this set of Scripting Additions as long as you understand that there's no warranty and that the risk of their use is completely up to you. I don't accept any responsibilities. That said, have fun and please tell me if you find any errors. I you really absolutely want to get source code for any of the additions ask me, but beware: the source is in quite disorderly a state.
  6.  
  7. What's in it & what's it all about?
  8.  
  9. Tortoise Suite : Copyright © Michael Schürig 1996. Freeware.
  10.  
  11. convertToHtml: convert styled text to text in HTML format
  12.     convertToHtml styled text
  13.     Result: string  -- HTML text
  14.  
  15. extractUrls: extract URLs from a file or string.
  16.     extractUrls textstream  -- file or string
  17.         [base url string] -- base for relative URLs
  18.     Result: list of string  -- URLs
  19.  
  20. labelNames: get the names of labels used for Finder items
  21.     labelNames 
  22.     Result: list of string
  23.  
  24. makeFileSpec: Make file specs or aliases for files/folders within a folder.
  25.     makeFileSpec list of string  -- file or folder(s). Can also be a partial path starting with “:”.
  26.         for 'name'
  27.         in folder file specification -- containing folder.
  28.         [as type class] -- allowed are “file specification” (default) and “alias”
  29.     Result: list of anything  -- file spec(s) or alias(es)
  30.  
  31. startupTime: Get and change the time the computer starts up.
  32.     startupTime [date]  -- new startup time
  33.     Result: date  -- previous startup time
  34.  
  35. wakeupTime: Get and change the time the computer wakes up.
  36.     wakeupTime [date]  -- new wakeup time
  37.     Result: date  -- previous wakeup time
  38.  
  39. lastActivity: get info on last activity on this computer
  40.     lastActivity 
  41.     Result: activity info
  42.  
  43. get SpeakableItems
  44.     get SpeakableItems 
  45.     Result: boolean  -- true if SpeakableItems are on
  46.  
  47. set SpeakableItems: Activate or deactivate SpeakableItems
  48.     set SpeakableItems boolean
  49.  
  50. tempFile: Make a file spec for a temporary file. If you create a temp file remember to delete it before quitting!
  51.     tempFile 
  52.         [base name string] -- used in creating temp file name. Default is name of current application.
  53.     Result: file specification  -- temporary file
  54.  
  55. documentKind: Get the kind string for a document or document type.
  56.     documentKind 
  57.         [of string] -- for this file type
  58.         [created with anything] -- signature, process serial number, or alias of an application file
  59.         [using volume string] -- the volume on which to search
  60.     Result: string  -- kind of the document
  61.  
  62. openableFileTypes: Get types or kind strings for files that an application can open.
  63.     openableFileTypes 
  64.         [for anything] -- signature, alias, or process serial number of an application
  65.         [documents only boolean] -- ignore 'APPL', 'disk', 'fold', and '****'. Default is true.
  66.         [four only boolean] -- return only four file types. “choose file” et al. take only four types.
  67.         [as type class] -- possible return types are “string”/“text” and “type class”
  68.         [using volume string] -- the volume on which to search (only used with application signature)
  69.     Result: list of anything  -- list of file types or kinds
  70.  
  71.  
  72. Class textstream
  73. Properties:
  74.      string  [r/o]
  75.      alias  [r/o]
  76.      file specification  [r/o]
  77.  
  78. Class activity info
  79. Properties:
  80.     overall date  [r/o]  -- last time for general activity
  81.     user date  [r/o]  -- last time for user activity
  82.     network date  [r/o]  -- last time for network activity
  83.     disk date  [r/o]  -- last time for hard disk activity
  84.  
  85.